home *** CD-ROM | disk | FTP | other *** search
- Path: newsgate.sps.mot.com!korat!mcollins
- From: mcollins@korat.uucp (Michael P. Collins)
- Newsgroups: comp.sys.m68k
- Subject: GNU C on a 68331 BCC
- Date: 8 Jan 1996 23:24:08 GMT
- Organization: Motorola Western MCU Design Center, Tempe, Arizona
- Message-ID: <4cs92o$h6f@newsgate.sps.mot.com>
- Reply-To: mcollins@wdc.sps.mot.com
- NNTP-Posting-Host: korat.sps.mot.com
-
- A few days ago, I set out to build a GNU C cross compiler for a 68331
- BCC development kit. The build/host machine is a SPARCstation 2 running
- SunOS 4.1.3. After much time reading the documentation files and
- experimenting with various arguments to config, I've reached the point
- where I have an apparently useful compiler. At least, I can compile a
- short test routine, download the resulting S-record file to the BCC, and
- see the expected results after running it. The next stage of the process
- is to add some support routines specific to the BCC. I don't need too
- terribly much -- mostly getc or getchar and printf for I/O, however some
- functions in the glibc/stdlib directory (i.e., atoi, atof, etc.) are
- pretty much essential. So far I've not found a supported configuration
- which matches the BCC environment, which isn't too surprising. Before
- I set off to put all the pieces together myself, I was wondering if maybe
- someone hasn't tread this path before and can offer some assistance (or
- perhaps even a libc.a file).
- In response to a similar request posted internally within Motorola,
- I did get one reply indicating that there's likely some help at
- http://lancelot.gcs.redstone.army.mil/rg4/rtems.html. This information
- is of limited value to me, however, because we are firewalled from
- external web sites.
- Any help will be appreciated.
-
- -- MC --
- --
- mcollins@wdc.sps.mot.com
-